<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/designM/flyweight.hpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_7815f4a69fa470e020068bb120d080ef.html">designM</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#namespaces">命名空间</a> &#124;
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle"><div class="title">flyweight.hpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;mutex&gt;</code><br />
<code>#include &lt;map&gt;</code><br />
<code>#include &quot;<a class="el" href="../../d9/d7a/variant_8hpp_source.html">container/variant.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
flyweight.hpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../da/df7/flyweight_8hpp__incl.png" border="0" usemap="#ainclude_2design_m_2flyweight_8hpp" alt=""/></div>
<map name="ainclude_2design_m_2flyweight_8hpp" id="ainclude_2design_m_2flyweight_8hpp">
<area shape="rect" title=" " alt="" coords="60,5,256,32"/>
<area shape="rect" title=" " alt="" coords="5,155,63,181"/>
<area shape="poly" title=" " alt="" coords="149,34,56,144,52,141,145,31"/>
<area shape="rect" title=" " alt="" coords="135,80,181,107"/>
<area shape="poly" title=" " alt="" coords="161,33,161,64,155,64,155,33"/>
<area shape="rect" href="../../d9/d7a/variant_8hpp.html" title=" " alt="" coords="216,80,358,107"/>
<area shape="poly" title=" " alt="" coords="182,30,253,70,250,74,179,35"/>
<area shape="poly" title=" " alt="" coords="242,110,78,156,77,151,241,105"/>
<area shape="rect" title=" " alt="" coords="86,155,155,181"/>
<area shape="poly" title=" " alt="" coords="259,110,165,151,163,146,257,105"/>
<area shape="rect" title=" " alt="" coords="179,155,233,181"/>
<area shape="poly" title=" " alt="" coords="275,109,233,146,229,142,271,105"/>
<area shape="rect" title=" " alt="" coords="257,155,339,181"/>
<area shape="poly" title=" " alt="" coords="292,107,297,139,291,140,287,108"/>
<area shape="rect" title=" " alt="" coords="363,155,430,181"/>
<area shape="poly" title=" " alt="" coords="308,105,367,144,364,148,305,109"/>
<area shape="rect" title=" " alt="" coords="454,155,523,181"/>
<area shape="poly" title=" " alt="" coords="323,105,441,147,439,152,322,110"/>
<area shape="rect" title=" " alt="" coords="547,155,625,181"/>
<area shape="poly" title=" " alt="" coords="340,105,532,151,531,156,339,110"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件被哪些文件直接或间接地引用了:</div>
<div class="dyncontent">
<div class="center"><img src="../../d6/da1/flyweight_8hpp__dep__incl.png" border="0" usemap="#ainclude_2design_m_2flyweight_8hppdep" alt=""/></div>
<map name="ainclude_2design_m_2flyweight_8hppdep" id="ainclude_2design_m_2flyweight_8hppdep">
<area shape="rect" title=" " alt="" coords="5,5,202,32"/>
<area shape="rect" href="../../dd/dd6/flyweight_8cpp.html" title=" " alt="" coords="28,80,179,107"/>
<area shape="poly" title=" " alt="" coords="106,48,106,80,101,80,101,48"/>
</map>
</div>
</div>
<p><a href="../../d5/d66/flyweight_8hpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight&lt; idType &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></td></tr>
<tr class="memdesc:df/d8d/namespacewheels"><td class="mdescLeft">&#160;</td><td class="mdescRight">堆栈信息读取和保存记录 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d2d/namespacewheels_1_1dm.html">wheels::dm</a></td></tr>
<tr class="memdesc:d8/d2d/namespacewheels_1_1dm"><td class="mdescLeft">&#160;</td><td class="mdescRight">策略方式定义， <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a7766293954bda6e102f9e7bbf1150bc4" id="r_a7766293954bda6e102f9e7bbf1150bc4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7766293954bda6e102f9e7bbf1150bc4">FLYWEIGHT_USE_VARIANT</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="memdesc:a7766293954bda6e102f9e7bbf1150bc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">享元模式实现。支持多个不同的类型的享元同时管理；线程安全；支持任意参数的构造函数；  <br /></td></tr>
<tr class="separator:a7766293954bda6e102f9e7bbf1150bc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a7766293954bda6e102f9e7bbf1150bc4" name="a7766293954bda6e102f9e7bbf1150bc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7766293954bda6e102f9e7bbf1150bc4">&#9670;&#160;</a></span>FLYWEIGHT_USE_VARIANT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLYWEIGHT_USE_VARIANT&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>享元模式实现。支持多个不同的类型的享元同时管理；线程安全；支持任意参数的构造函数； </p>
<dl class="section version"><dt>版本</dt><dd>1.1 </dd></dl>
<dl class="section author"><dt>作者</dt><dd>宋炜 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2023-6-12 ~ 2023-12-8 2023-12-8 改变了内部实现方式，使用wheels::variant来保存数据内容。并增加了接口方式处理数据 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00015">15</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
